package com.szr.leex.dao.debtor;

import com.szr.leex.dao.BaseDao;
import com.szr.leex.po.debtor.DebtorInfo;

/**
 * 场景方信息dao
 * Created by WangChen on 2018/8/25 11:42.
 */
public interface DebtorInfoDao extends BaseDao<DebtorInfo, String> {

    DebtorInfo findByOrgCode(String orgCode);


//    String sql = "select org_code, debtor_name from debtor_info where org_code = :orgCode";
//    String countSql = "select count(1) from (" + sql + " ) t";
//    @SQLQuery(value = sql, countQuery = countSql)
//    Page findDtoPage(@Param("orgCode")String orgCode, Pageable pageable);

}
